<template>
  <div class="block-title">
    {{ name }}
  </div>
</template>
<script name="BlockTitle" setup>
defineProps({
  name: {
    type: String,
    default: '',
  },
})
</script>
<style scoped>
.block-title {
  font-size: 20px;
  font-family: Source Han Sans CN-Medium;
  font-weight: 500;
  color: #00165d;
  padding-left: 28px;
  position: relative;
}
.block-title::before {
  width: 20px;
  height: 18px;
  position: absolute;
  content: '';
  background-image: url('./images/icon2.png');
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  left: 0;
  top: 45%;
  transform: translateY(-50%);
}
</style>
